package com.company.dcm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sys_permission")
public class Permission {
    @TableId
    private Long permissionId;

    private Long userId;

    private Long factoryId;

    private Long id;//车间id

//    @TableField(exist = false)
//    private String factoryName;
//
//    @TableField(exist = false)
//    private String name;

    @TableField(exist = false)
    private String userName;
}
